SftTree/NET 2.0

Children Property, ItemClass Class

Softel vdm, Inc.

Returns the dependent items of the this item.

Syntax      ItemClass Class (Softelvdm.SftTreeNET)

VB   

Public ReadOnly Property Children As ItemCollectionClass

C#   

public ItemCollectionClass Children { get; }

C++   

public: property ItemCollectionClass^ Children {
        ItemCollectionClass^ get();
}

Property Value

The collection of dependents or null/Nothing if this item doesn't have any dependents.

Comments

The Children property returns the dependent items of the this item.

Child items (or dependents) can be added using the methods exposed by the ItemClass class, such as Add and InsertAfter or the ItemCollectionClass class, such as ItemCollectionClass.Add.

Once an item has been added, parts (such as instances of the TextPartClass) can be added to the cell.

The RemoveChildren method can be used to remove an item's dependents.

If many items are added, the Initializing property can be used to indicate a mass-update, which is significantly faster.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com